views updated for working with ajax