updating before rewrite without dependencies