app ref update