Edit in place function added to the view