added posibility to edit register data, and other minor changes