onclick for edit now