add edit place functionality