rename views
handle id and no id with put and post
fix template