edit place functionality