Council wants to amend code for troubled shelter