adding code to update management view