Fixed status update
Added logging of status