adding readonly editing and new events