add update-status functionality