made it so the status is updated by the values from the dp