added changes to op for update operation