fix deprecated function call
update layout to see the new app