updated reset & renamed refresh to update and added functionality & cleaned up onCreate