Change pictures#update action to use update_attributes