rewriting Picture entity