refactor status view and status update